﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="a" uri="/tags/auth"%>
<%
	String ivia = request.getParameter("isViewInfoAction");
	request.setAttribute("isViewInfoAction","true".equalsIgnoreCase(ivia));
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<TABLE class=list_border cellSpacing=0 cellPadding=0 width="98%"
	border=0>
	<TBODY>
		<TR>
			<TD colspan="4">基本信息	</TD>
		</TR>
		<TR>
			<TD class=list_td_gray width="140">企业名称 ：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.companyname}
					<c:if test="${!empty company2}">
						<c:if test="${company.companyname ne company2.companyname}">
							<br><font color="red">${company2.companyname}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">
					<input name="companyname"
					type="text" class="validate[required] INPUT2" height="20"
					onchange="checkCompanyname(this,'${company.id}')" value="${company.companyname}">
					<span class="text_darkred">*</span> &nbsp;<span id="errMsg"
					class="text_darkred"></span> <input type="hidden" id="isExist"
					value="">
				</c:if>
			</TD>

			<TD class=list_td_gray width="140">组织机构代码 ：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.orgid}
					<c:if test="${!empty company2}">
						<c:if test="${company.orgid ne company2.orgid}">
							<br><font color="red">${company2.orgid}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">
					<input name="orgid" type="text"
						class="INPUT2" height="20" value="${company.orgid}">
				</c:if>
			</TD>
		</TR>

		<TR>
			<TD class=list_td_gray width="140">产业类型 ：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.companytype}
					<c:if test="${!empty company2}">
						<c:if test="${company.companytype ne company2.companytype}">
							<br><font color="red">${company2.companytype}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">
<!-- 					<input name="companytype" -->
<!-- 						type="text" class="INPUT2" height="20" -->
<!-- 						value="${company.projcontent}"> -->
					<select name="companytype">
						<option value="">请选择</option>
						<c:forEach var="varInd" items="${industrys}">
							<option value="${varInd}" <c:if test="${company.companytype eq varInd}">selected</c:if>>${varInd}</option>
						</c:forEach>
					</select>
				</c:if>
			</TD>

			<TD class=list_td_gray width="140">工商注册证号 ：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.companyid}
					<c:if test="${!empty company2}">
						<c:if test="${company.companyid ne company2.companyid}">
							<br><font color="red">${company2.companyid}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="companyid" type="text"
					class="validate[custom[+number]] INPUT2" height="20" value="${company.companyid}">
				</c:if>
			</TD>
		</TR>

		<TR>
			<TD class=list_td_gray width="140">办公用房 ：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.officelocation}
					<c:if test="${!empty company2}">
						<c:if test="${company.officelocation ne company2.officelocation}">
							<br><font color="red">${company2.officelocation}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">			
					<input name="officelocation"
						type="text" class="INPUT2" height="20"
						value="${company.officelocation}">
				</c:if>
			</TD>

			<TD class=list_td_gray width="140">注册登记日期 ：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.establishdate}
					<c:if test="${!empty company2}">
						<c:if test="${company.establishdate ne company2.establishdate}">
							<br><font color="red">${company2.establishdate}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="establishdate"
						type="text" class="validate[custom[date]] INPUT2" height="20"
						value="${company.establishdate}">
				</c:if>
			</TD>						
		</TR>

		<TR>
			<TD class=list_td_gray width="140">办公用房面积(平方米)：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.officesize}
					<c:if test="${!empty company2}">
						<c:if test="${company.officesize ne company2.officesize}">
							<br><font color="red">${company2.officesize}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="officesize"
						type="text" class="validate[custom[number]] INPUT2" height="20" value="${company.officesize}">
				</c:if>
			</TD>

			<TD class=list_td_gray width="140">注册资本(万元)：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.registercapital}
					<c:if test="${!empty company2}">
						<c:if test="${company.registercapital ne company2.registercapital}">
							<br><font color="red">${company2.registercapital}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="registercapital"
						type="text" class="validate[custom[number]] INPUT2" height="20"
						value="${company.registercapital}">
				</c:if>
			</TD>
		</TR>

		<TR>
			<%--><TD class=list_td_gray width="140">员工人数(人)：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.employeeamount}
				</c:if>
				<c:if test="${isViewInfoAction eq false}">						
					<input name="employeeamount"
						type="text" class="validate[custom[+number]] INPUT2" height="20"
						value="${company.employeeamount}">
				</c:if>
			</TD> --%>

			<TD class=list_td_gray width="140">入驻日期：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.residentdate}
					<c:if test="${!empty company2}">
						<c:if test="${company.residentdate ne company2.residentdate}">
							<br><font color="red">${company2.residentdate}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="residentdate"
						type="text" class="validate[custom[date]] INPUT2" height="20"
						value="${company.residentdate}">
				</c:if>
			</TD>

			<TD class=list_td_gray width="140">注册类型：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					<c:if test="${company.applytype eq 1}">新注册</c:if>
					<c:if test="${company.applytype eq 2}">变更注册</c:if>
					<c:if test="${company.applytype eq 3}">核名中</c:if>
					<c:if test="${company.applytype eq 4}">拟注册</c:if>
					<c:if test="${company.applytype eq 5}">拟变更注册</c:if>
					<c:if test="${company.applytype eq 6}">已核名</c:if>
					<c:if test="${!empty company2}">
						<c:if test="${company.applytype ne company2.applytype}">
							<br><font color="red">
								<c:if test="${company2.applytype eq 1}">新注册</c:if>
								<c:if test="${company2.applytype eq 2}">变更注册</c:if>
								<c:if test="${company2.applytype eq 3}">核名中</c:if>
								<c:if test="${company2.applytype eq 4}">拟注册</c:if>
								<c:if test="${company2.applytype eq 5}">拟变更注册</c:if>
								<c:if test="${company2.applytype eq 6}">已核名</c:if>
							</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
<%--					<input name="applytype" type="text"--%>
<%--						class="INPUT2" height="20" value="${company.applytype}">--%>
					<select name="applytype">
						<option value="">请选择</option>
						<option value="1" <c:if test="${company.applytype eq 1}">selected</c:if>>新注册</option>
						<option value="2" <c:if test="${company.applytype eq 2}">selected</c:if>>变更注册</option>
						<option value="3" <c:if test="${company.applytype eq 3}">selected</c:if>>核名中</option>
						<option value="4" <c:if test="${company.applytype eq 4}">selected</c:if>>拟注册</option>
						<option value="5" <c:if test="${company.applytype eq 5}">selected</c:if>>拟变更注册</option>
						<option value="6" <c:if test="${company.applytype eq 6}">selected</c:if>>已核名</option>
					</select>
				</c:if>
			</TD>
		</TR>

		<%--<TR>
			<TD class=list_td_gray width="140">本年度累计销售总额(万元)：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.totalrevenue}
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="totalrevenue"
						type="text" class="validate[custom[+number]] INPUT2" height="20"
						value="${company.totalrevenue}">
				</c:if>
			</TD> 
		</TR>--%>

		<TR>
			<TD class=list_td_gray width="140">企业状态：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					<c:choose>
						<c:when test="${company.companystatus eq 1}">场外</c:when>
						<c:when test="${company.companystatus eq 3}">入驻</c:when>
						<c:when test="${company.companystatus eq 4}">毕业</c:when>
						<c:when test="${company.companystatus eq 5}">撤出</c:when>
						<c:when test="${company.companystatus eq 6}">删除</c:when>
					</c:choose>
					<c:if test="${!empty company2}">
						<c:if test="${company.companystatus ne company2.companystatus}">
							<br><font color="red">
								<c:when test="${company2.companystatus eq 1}">场外</c:when>
								<c:when test="${company2.companystatus eq 3}">入驻</c:when>
								<c:when test="${company2.companystatus eq 4}">毕业</c:when>
								<c:when test="${company2.companystatus eq 5}">撤出</c:when>
								<c:when test="${company2.companystatus eq 6}">删除</c:when>
							</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
<%--					<input name="companystatus"--%>
<%--						type="text" class="INPUT2" height="20"--%>
<%--						value="${company.companystatus}">--%>
					<select name="companystatus"class="validate[required]">
						<option value="1" <c:if test="${company.companystatus eq 1}">selected</c:if>>场外</option>
						<option value="3" <c:if test="${company.companystatus eq 3}">selected</c:if>>入驻</option>
						<option value="4" <c:if test="${company.companystatus eq 4}">selected</c:if>>毕业</option>
						<option value="5" <c:if test="${company.companystatus eq 5}">selected</c:if>>撤出</option>
					</select>
				</c:if>
			</TD>
			
			<TD class=list_td_gray width="140" rowspan="2">备注：</TD>
			<TD class=list_td_white_line rowspan="2">
				<c:if test="${isViewInfoAction}">
					${company.remark}
					<c:if test="${!empty company2}">
						<c:if test="${company.remark ne company2.remark}">
							<br><font color="red">${company2.remark}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<textarea name="remark">${company.remark}</textarea>
				</c:if>
			</TD>
		</TR>
		<TR>
			<TD class=list_td_gray width="140">企业网址：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.companyweburl}
					<c:if test="${!empty company2}">
						<c:if test="${company.companyweburl ne company2.companyweburl}">
							<br><font color="red">${company2.companyweburl}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="companyweburl"
						type="text" class="validate[custom[url]] INPUT2" height="20"
						value="${company.companyweburl}">
				</c:if>
			</TD>				
		</TR>

		<TR>
			<TD colspan="4">联络人信息</TD>
		</TR>
		<TR>
			<TD class=list_td_gray width="140">负责人姓名：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.ownername}
					<c:if test="${!empty company2}">
						<c:if test="${company.ownername ne company2.ownername}">
							<br><font color="red">${company2.ownername}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="ownername" type="text"
						class="validate[required] INPUT2" height="20" value="${company.ownername}"> <span
						class="text_darkred">*</span>
				</c:if>
			</TD>

			<TD class=list_td_gray width="140">负责人电话：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.ownertelphone}
					<c:if test="${!empty company2}">
						<c:if test="${company.ownertelphone ne company2.ownertelphone}">
							<br><font color="red">${company2.ownertelphone}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="ownertelphone"
						type="text" class="validate[required,custom[phone]] INPUT2" height="20"
						value="${company.ownertelphone}"> <span class="text_darkred">*</span>
				</c:if>
			</TD>
		</TR>
		<TR>
			<TD class=list_td_gray width="140">负责人信箱：</TD>
			<TD class=list_td_white_line colspan="3">
				<c:if test="${isViewInfoAction}">
					${company.owneremail}
					<c:if test="${!empty company2}">
						<c:if test="${company.owneremail ne company2.owneremail}">
							<br><font color="red">${company2.owneremail}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input
						name="owneremail" type="text" class="validate[custom[email]] INPUT2" height="20"
						value="${company.owneremail}">
				</c:if>
			</TD>
		</TR>

		<TR>
			<TD class=list_td_gray width="140">行政负责人姓名：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.adminownername}
					<c:if test="${!empty company2}">
						<c:if test="${company.adminownername ne company2.adminownername}">
							<br><font color="red">${company2.adminownername}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="adminownername"
						type="text" class="INPUT2" height="20"
						value="${company.adminownername}">
				</c:if>
			</TD>

			<TD class=list_td_gray width="140">行政负责人电话：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.adminownertelphone}
					<c:if test="${!empty company2}">
						<c:if test="${company.adminownertelphone ne company2.adminownertelphone}">
							<br><font color="red">${company2.adminownertelphone}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="adminownertelphone"
						type="text" class="validate[custom[phone]] INPUT2" height="20"
						value="${company.adminownertelphone}">
				</c:if>
			</TD>
		</TR>
		<TR>
			<TD class=list_td_gray width="140">行政负责人信箱：</TD>
			<TD class=list_td_white_line colspan="3">
				<c:if test="${isViewInfoAction}">
					${company.adminowneremail}
					<c:if test="${!empty company2}">
						<c:if test="${company.adminowneremail ne company2.adminowneremail}">
							<br><font color="red">${company2.adminowneremail}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input
						name="adminowneremail" type="text" class="validate[custom[email]] INPUT2" height="20"
						value="${company.adminowneremail}">
				</c:if>
			</TD>
		</TR>

		<TR>
			<TD class=list_td_gray width="140">财务负责人姓名：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.financecontact}
					<c:if test="${!empty company2}">
						<c:if test="${company.financecontact ne company2.financecontact}">
							<br><font color="red">${company2.financecontact}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="financecontact"
						type="text" class="INPUT2" height="20"
						value="${company.financecontact}">
				</c:if>
			</TD>

			<TD class=list_td_gray width="140">财务负责人电话：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.financecontactphone}
					<c:if test="${!empty company2}">
						<c:if test="${company.financecontactphone ne company2.financecontactphone}">
							<br><font color="red">${company2.financecontactphone}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="financecontactphone"
						type="text" class="validate[custom[phone]] INPUT2" height="20"
						value="${company.financecontactphone}">
				</c:if>
			</TD>
		</TR>
		<TR>
			<TD class=list_td_gray width="140">财务负责人信箱：</TD>
			<TD class=list_td_white_line colspan="3">
				<c:if test="${isViewInfoAction}">
					${company.financecontactemail}
					<c:if test="${!empty company2}">
						<c:if test="${company.financecontactemail ne company2.financecontactemail}">
							<br><font color="red">${company2.financecontactemail}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input
						name="financecontactemail" type="text" class="validate[custom[email]] INPUT2" height="20"
						value="${company.financecontactemail}">
				</c:if>
			</TD>
		</TR>
		
		<a:auth userType="1,3">
		<TR>
			<TD colspan="4">附件信息</TD>
		</TR>
		<TR>
			<TD class=list_td_gray width="140">关键字：</TD>
			<TD class=list_td_white_line colspan="3">
				<c:if test="${isViewInfoAction}">
					${company.keyword}
					<c:if test="${!empty company2}">
						<c:if test="${company.keyword ne company2.keyword}">
							<br><font color="red">${company2.keyword}</font>
						</c:if>
					</c:if>
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="keyword"
						type="text" class="INPUT2" height="20"
						value="${company.keyword}">
				</c:if>
			</TD>
		</TR>
		</a:auth>
		<%--
		<TR>
			<TD colspan="4">洽谈/审查信息</TD>
		</TR>
		<TR>
			<TD class=list_td_gray width="140">洽谈日期：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.interviewstartdate}
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="interviewstartdate"
						type="text" class="validate[custom[date]] INPUT2" height="20"
						value="${company.interviewstartdate}">
				</c:if>
			</TD>

			<TD class=list_td_gray width="140">审查日期：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.reviewdate}
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="reviewdate"
						type="text" class="validate[custom[date]] INPUT2" height="20" value="${company.reviewdate}">
				</c:if>
			</TD>
		</TR>
		<TR>
			<TD class=list_td_gray width="140">讯息来源：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.informationsource}
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="informationsource"
						type="text" class="INPUT2" height="20"
						value="${company.informationsource}">
				</c:if>
			</TD>

			<TD class=list_td_gray width="140">审查结果：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.reviewresult}
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="reviewresult"
						type="text" class="INPUT2" height="20"
						value="${company.reviewresult}">
				</c:if>
			</TD>
		</TR>
		<TR>
			<TD class=list_td_gray width="140">是否提出可行性评估报告：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.evaluationreportstatus}
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input
						name="evaluationreportstatus" type="text" class="INPUT2" height="20"
						value="${company.evaluationreportstatus}">
				</c:if>
			</TD>

			<TD class=list_td_gray width="140">审查意见：</TD>
			<TD class=list_td_white_line>
				<c:if test="${isViewInfoAction}">
					${company.reviewopinion}
				</c:if>
				<c:if test="${isViewInfoAction eq false}">				
					<input name="reviewopinion"
						type="text" class="INPUT2" height="20"
						value="${company.reviewopinion}">
				</c:if>
			</TD>
		</TR>
		--%>
	</TBODY>
</TABLE>